<?php


namespace app\service;


use think\facade\Db;

class CarTypeService
{
    public function getCarTypeInfo($parkingNo,$type){
        return Db::name('car_type')
            ->where('parkingNo',$parkingNo)
            ->where('car_type',$type)
            ->find();
    }
}